package com.wuxiaolong.backend.constant;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * Description:
 *
 * @author WuXiaolong
 * @date 2019/5/29
 */
@NoArgsConstructor
@AllArgsConstructor
@Getter
public enum ResultCode {


	SUCC(1000,"成功"),
	PARAM_ILLEGAL_ERR(1010,"参数不合法"),

	TOKEN_INVOILD_ERR(2000,"token无效，请重新登录"),
	UNKNOWN_ERR(10000,"未知异常"),
	;

	private Integer code;
	private String msg;

}
